package com.zhuchang.self_rpc.test.provider;

import com.zhuchang.self_rpc.test.consumer.HelloService;
import com.zhuchang.self_rpc.test.consumer.User;

/**
 * @Author RenPu
 * @Date 2021/8/19 10:38
 * @Version 1.0
 * @Description:
 **/
public class HelloServiceImpl implements HelloService {


    @Override
    public String hello(String name) {
        return "Hello !!! " + name;
    }

    @Override
    public String hello(User name) {
        return "Hello !!! " + name.getUserName();
    }
}
